/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Hu
 * Date: 2024-05-22
 * Time: 13:50
 */
/*
class dog{
    public String name;
    public String color;

    public void barks(){
        System.out.println(name + "汪汪汪");
    }

    public void wag(){
        System.out.println(name + "摇尾巴");
    }
}
public class Test {
    dog dogh = new dog();
    dogh.name =
}
*/
class Petdog{
    public String name;
    public String coloe;

    public void barks(){
        System.out.println(name + "汪汪汪");
    }
    public void wag(){
        System.out.println(name + "摇尾巴");
    }
}